#!/bin/bash
#------------------------------------------
# desc:
#     jq命令封装
# author:
#     dockerlin@163.com
# ------------------------------------------

function cxlib_xmlstarlet(){
    logger_debug "checking command xmlstarlet!"
    command -v "xmlstarlet" >/dev/null 2>&1
    retval=$?
    if [ $retval -gt 0 ]; then 
        logger_error "command xmlstarlet has not installed,please checked and reload this file!"
    fi
    return "$retval"
}